package cn.lg.soar.general.service;

import cn.lg.soar.database.base.service.IBaseService;
import cn.lg.soar.general.entity.WebContent;
import cn.lg.soar.general.model.WebContentVo;

import java.util.Collection;
import java.util.List;

/**
 * 页面位置内容
 * @author luguoxiang
 * @since 2023-03-19
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface IWebContentService extends IBaseService<WebContent> {

    /**
     * 根据位置id获取
     * @param positionId
     * @param limit
     * @return
     */
    List<WebContentVo> voListByPositionId(Long positionId, Integer limit);

    boolean removeByPositionIds(Collection<Long> positionIds);

}
